<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>032-HTML5-Input类型-datetime-local</title>
</head>

<body>
    <!-- datetime-local 类型允许你选择一个日期和时间 (无时区). -->
    <form action="demo-form.php">
        生日 (日期和时间): <input type="datetime-local" name="bdaytime">
        <input type="submit">
    </form>
</body>

</html>